const express = require('express')

const router = express.Router()

const { handleUserInfo, handleLogin, handleRegister } = require('../routerHandler/user')

router.post('/login', handleLogin)

router.post('/register', handleRegister)

// router.post('/logout', user.logout)

router.get('/userInfo', handleUserInfo)

module.exports = router
